package com.wz.project.cxtj.viewstockstatistic.service;

import com.wz.project.cxtj.viewstockstatistic.domain.ViewStockStatistics;
import com.wz.project.stock.domain.BasStock;

import java.util.List;

/**
 * 库存统计Service接口
 * 
 * @author wz
 * @date 2022-05-18
 */
public interface IViewStockStatisticsService 
{
    /**
     * 查询库存统计
     *
     * @param warehouseCode 库存统计ID
     * @return 库存统计
     */
    public ViewStockStatistics selectViewStockStatisticsById(String warehouseCode);

    public List<ViewStockStatistics> selectStockCountList(ViewStockStatistics viewStockStatistics);

    /**
     * 查询库存统计列表
     * 
     * @param viewStockStatistics 库存统计
     * @return 库存统计集合
     */

    public List<ViewStockStatistics> selectViewStockStatisticsList(ViewStockStatistics viewStockStatistics);

    /**
     * 新增库存统计
     *
     * @param viewStockStatistics 库存统计
     * @return 结果
     */
    public int insertViewStockStatistics(ViewStockStatistics viewStockStatistics);

    /**
     * 修改库存统计
     *
     * @param viewStockStatistics 库存统计
     * @return 结果
     */
    public int updateViewStockStatistics(ViewStockStatistics viewStockStatistics);

    /**
     * 批量删除库存统计
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteViewStockStatisticsByIds(String ids);

    /**
     * 删除库存统计信息
     *
     * @param warehouseCode 库存统计ID
     * @return 结果
     */
    public int deleteViewStockStatisticsById(String warehouseCode);

    public List<BasStock> selectStockList(BasStock basStock);
}
